﻿namespace Tw.Trains.Domain
{
    /// <summary> 线路属性 </summary>
    public class TripAttribute
    {
        public TripAttribute(int distance)
        {
            Distance = distance;
            Stops = 1;
        }
        /// <summary> 距离 </summary>
        public int Distance { get; set; }
        /// <summary> 停靠站点数 </summary>
        public int Stops { get; set; }
    }
}
